package sist.erp.db.Insa;

import java.util.List;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

public class DeptManager extends SqlMapClientDaoSupport {
	public List deptAllData() throws Exception{
		return getSqlMapClientTemplate().queryForList("deptAllData");
	}
	public String findDeptName(int dept_no) throws Exception{
		return (String)getSqlMapClientTemplate().queryForObject("findDeptName",dept_no);
	}
}
